//
//  HBuserFeedbackParser.m
//  HuoBao
//
//  Created by sky on 15/12/15.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import "HBuserFeedbackParser.h"

@implementation HBuserFeedbackParser

-(ParserResult*)parseResponseDictionary:(NSDictionary *)responseDictionary
{
    LLog(@"responseDictionary:%@",responseDictionary);
    ParserResult* result=[[ParserResult alloc]init];
    NSNumber* codeObject=[responseDictionary objectForKey:Key_Code];
    if (codeObject)
    {
        NSInteger code = [codeObject integerValue];
        result.code = code;
        result.message = [responseDictionary objectForKey:Key_Msg];
    }
    else
    {
        result.code=0;
        result.message=@"服务器数据异常";
    }
    
    return result;
}


@end
